package com.ruoyi.net.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.checkerframework.framework.qual.Unused;

/**
 * 网元-QOS配置-DS域配置对象 element_qos_ds
 * 
 * @author net
 * @date 2024-11-17
 */
public class ElementQosDs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 网元id */
    @Excel(name = "网元id")
    private String elementId;

    /** DS域名称 */
    @Excel(name = "DS域名称")
    private String dsName;

    /** 映射关系 */
    @Excel(name = "映射关系")
    private String mappingRelation;

    /** 方向 */
    @Excel(name = "方向")
    private String direction;

    /** 用户优先级类型 */
    @Excel(name = "用户优先级类型")
    private String userLevelType;

    /** 服务等级 */
    @Excel(name = "服务等级")
    private String serviceLevel;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setElementId(String elementId) 
    {
        this.elementId = elementId;
    }

    public String getElementId() 
    {
        return elementId;
    }
    public void setDsName(String dsName) 
    {
        this.dsName = dsName;
    }

    public String getDsName() 
    {
        return dsName;
    }
    public void setMappingRelation(String mappingRelation) 
    {
        this.mappingRelation = mappingRelation;
    }

    public String getMappingRelation() 
    {
        return mappingRelation;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public String getUserLevelType() {
        return userLevelType;
    }

    public void setUserLevelType(String userLevelType) {
        this.userLevelType = userLevelType;
    }

    public String getServiceLevel() {
        return serviceLevel;
    }

    public void setServiceLevel(String serviceLevel) {
        this.serviceLevel = serviceLevel;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("elementId", getElementId())
            .append("dsName", getDsName())
            .append("mappingRelation", getMappingRelation())
                .append("direction", getDirection())
                .append("userLevelType", getUserLevelType())
                .append("serviceLevel", getServiceLevel())
                .append("color", getColor())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
